package com.suyang.syt.model.dto.solr;

import org.apache.solr.client.solrj.beans.Field;

public class SolrFieldTeacher {

	/** ID,由(机构ID_教师ID_课程ID)组成,唯一的值 */
	private String id;

	/** 名称 */
	private String name;

	/** Logo图片地址 */
	private String logo;

	/** 状态,1表示机构,2表示教师,3表示课程 */
	private int status;

	/** 评分 */
	private float score;

	/** 预约数量 */
	private int subscribeNum;

	/** 教学范围,用逗号隔开的课程名称 */
	private String scopes;

	/** 地址信息 */
	private String address;

	/** 位置信息,经纬度 */
	private String location;

	/** 距离 */
	private double distance;

	/** 免费试听数 */
	private int freeNum;

	/** 发布时间 */
	private long createTime;

	/** 机构所在行政区域的ID */
	private long cid;

	public SolrFieldTeacher() {

	}

	public String getId() {
		return id;
	}

	@Field
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	@Field("sft_name")
	public void setName(String name) {
		this.name = name;
	}

	public String getLogo() {
		return logo;
	}

	@Field("sft_logo")
	public void setLogo(String logo) {
		this.logo = logo;
	}

	public int getStatus() {
		return status;
	}

	@Field("sft_status")
	public void setStatus(int status) {
		this.status = status;
	}

	public float getScore() {
		return score;
	}

	@Field("sft_score")
	public void setScore(float score) {
		this.score = score;
	}

	public int getSubscribeNum() {
		return subscribeNum;
	}

	@Field("sft_subscribeNum")
	public void setSubscribeNum(int subscribeNum) {
		this.subscribeNum = subscribeNum;
	}

	public String getScopes() {
		return scopes;
	}

	@Field("sft_scopes")
	public void setScopes(String scopes) {
		this.scopes = scopes;
	}

	public String getAddress() {
		return address;
	}

	@Field("sft_address")
	public void setAddress(String address) {
		this.address = address;
	}

	public String getLocation() {
		return location;
	}

	@Field("sft_location")
	public void setLocation(String location) {
		this.location = location;
	}

	public double getDistance() {
		return distance;
	}

	@Field("sft_distance")
	public void setDistance(double distance) {
		this.distance = distance;
	}

	public int getFreeNum() {
		return freeNum;
	}

	@Field("sft_freeNum")
	public void setFreeNum(int freeNum) {
		this.freeNum = freeNum;
	}

	public long getCreateTime() {
		return createTime;
	}

	@Field("sft_createTime")
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public long getCid() {
		return cid;
	}

	@Field("sft_cid")
	public void setCid(long cid) {
		this.cid = cid;
	}

}
